<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sku')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sku" data-rule="required" class="form-control" name="row[sku]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Skuname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-skuname" data-rule="required" class="form-control" name="row[skuname]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Specification')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-specification" data-rule="required" class="form-control" name="row[specification]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inventoryunit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inventoryunit" data-rule="required" class="form-control" name="row[inventoryunit]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Skutype1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-skutype1" data-rule="required" class="form-control" name="row[skutype1]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Skutype2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-skutype2" data-rule="required" class="form-control" name="row[skutype2]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Skutype3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-skutype3" data-rule="required" class="form-control" name="row[skutype3]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Skutype4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-skutype4" data-rule="required" class="form-control" name="row[skutype4]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Productdescription')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-productdescription" data-rule="required" class="form-control" name="row[productdescription]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Standardsku')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-standardsku" data-rule="required" class="form-control" name="row[standardsku]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Standardcodenumber')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-standardcodenumber" data-rule="required" class="form-control" name="row[standardcodenumber]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mainwarehouseid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mainwarehouseid" data-rule="required" class="form-control" name="row[mainwarehouseid]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inventorymanagement')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inventorymanagement" data-rule="required" class="form-control" name="row[inventorymanagement]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lotmanagement')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lotmanagement" data-rule="required" class="form-control" name="row[lotmanagement]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Skuattribute')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-skuattribute" data-rule="required" class="form-control" name="row[skuattribute]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Note')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-note" data-rule="required" class="form-control" name="row[note]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Effectivedatetime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-effectivedatetime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[effectivedatetime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Failuredatetime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-failuredatetime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[failuredatetime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inspectionmethod')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inspectionmethod" data-rule="required" class="form-control" name="row[inspectionmethod]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Result')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-result" data-rule="required" class="form-control" name="row[result]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Resultmessage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-resultmessage" data-rule="required" class="form-control" name="row[resultmessage]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
